/* SafeProxy.h */
#ifndef __SAFEPROXY_H
#define __SAFEPROXY_H


#ifndef DEFAULT_LISTEN_PORT
#define DEFAULT_LISTEN_PORT	8565
#endif
	
#ifndef DEFAULT_MAX_CONNS
#define DEFAULT_MAX_CONNS 50
#endif


#define PACKAGE						"safeproxy"
#define VERSION						"2.0"

// number of addresses that we will listen on.
#define MAX_SERVERS		5

#define DEFAULT_PORT DEFAULT_LISTEN_PORT

// global constants and other things go here.
#define DEFAULT_MAXCONNS	1024
#define INVALID_HANDLE -1

// start out with an 8kb buffer.  Whenever it is full, we will double the
// buffer, so this is just a starting point.
#define DEFAULT_BUFFSIZE	8192



#ifndef ASSERT
	#include <assert.h>
	#define ASSERT(x) assert(x);
#endif


#endif
